<?php foreach ($datas as $data):?>
<tr>    
    <td><?php echo $data['id']; ?></td>
    <td><?php echo $data['sku']; ?></td>
    <td><?php echo $data['sku_name']; ?></td>
    <td><?php echo $data['quantity']; ?></td>
    <td><?php echo $data['warehouseid']; ?></td>
    <td><?php echo $data['delivery_date']; ?></td>
    <td><?php echo isset($types[$data['type']]) ? $types[$data['type']] : ''; ?>  </td>
    <td><?php echo isset($suppliers[$data['supplier_id']]) ? $suppliers[$data['supplier_id']] : '未知'; ?>  </td>
    <td><?php echo $data['enterprise_dominant']; ?></td>
    <td><?php echo $data['storage_position']; ?></td>
    <td><?php echo $data['order_id']?$data['order_id']:'暂无'; ?></td>
    <td><?php echo round($data['single_price'], 2); ?></td>
    <td><?php echo round($data['money'],2); ?></td>
    <td><?php echo round($data['cost'],2) ?></td>
    <td><?php echo $data['remark']; ?></td>
    <td><?php echo isset($users[$data['delivery_man']]) ? $users[$data['delivery_man']] : ''; ?>  </td>
</tr>
<?php endforeach;?>
<tr>
    <td colspan="17">
        <div class="mypage">
            <!--<div style="text-align: center;">查询结果总计:<span class="num"><?php /*echo $totles*/?></span>条</div>
             <div style="text-align: center;">合计 <span>出库总数量：<?php /*echo round($totlesall['num'],2)*/?></span>  <span>出库总金额 ：<?php /*echo round($totlesall['money'],2)*/?></span> <span>出库总成本 :<?php /*echo round($totlesall['cost'],2)*/?></span></div>-->
            <?php echo $pager_links;?>
        </div>
    </td>
</tr>
